<h1>Add new User to Event: <%= @event.name %></h1>

<div class="error"><%= error_messages_for :event %></div><br>

<%= form_tag :action => 'add_user', :id => @event.id %>

	<p>Enter your email address:</p>
	<p><%= text_field 'user', 'name' %></p>
	<br>
	
	<p><%= submit_tag "Add User" %></p>
<%= %>

<p><%= link_to 'Back', {:controller => 'endar_event', :action => 'show', :id => @event.id} %></p>
